package demo;

class MyThread1 extends Thread{
    @Override
    public void run() {
        System.out.println("hello");
    }
}
public class Demo1 {
    public static void main(String[] args) {
        MyThread1 t=new MyThread1();
        t.start();
    }
}
